Skip to content

fixes: issue-27 Logging for db exception should be more context rich#28

Open
kayjoosten wants to merge 2 commits intomainfrom
feature/issue-27-fix-db-logging
Open

fixes: issue-27 Logging for db exception should be more context rich#28
kayjoosten wants to merge 2 commits intomainfrom
feature/issue-27-fix-db-logging

Conversation

@kayjoosten
Copy link
Copy Markdown

No description provided.

When you run composer install with php 8.5 it will break.
Therefore, we have to lock the version to 8.2 this is bcuz
we want to support from 8.2 onwards not from 8.5
Fixes #27. Exceptions caught in DoctrineConnectionHealthCheck and
HealthController were silently swallowed, making database failures
impossible to diagnose from logs. Inject LoggerInterface and log
the full exception as context so Monolog includes the stack trace.
@kayjoosten kayjoosten changed the title Feature/issue 27 fix db logging fixes: issue-27 Logging for db exception should be more context rich Apr 10, 2026
@kayjoosten kayjoosten requested a review from johanib April 10, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant